import { request } from "@/utils/axiosInstance.js";

export function list() {
	return request({
		url: "/type/",
	});
}

export function add(data) {
	return request({
		url: "/type/add",
		method: "post",
		data,
	});
}

export function update(data) {
	return request({
		url: "/type/update",
		method: "post",
		data,
	});
}

export function del(data) {
	return request({
		url: "/type/del",
		method: "post",
		data,
	});
}
